package com.bytedance.framwork.core.a;

import android.support.annotation.NonNull;
import android.support.design.a;

import com.bytedance.frameworks.core.thread.e;

import java.io.File;

import inline.PackageUtils;

public final class b extends e {
    public b() {

    }

    public final void run() {
        Object v2;
        c v1;
        try {
            v1 = c.a();
            v2 = v1.b;
            synchronized (v2) {
                File v0_1 = new File(a.i(v1.a), "ss_monitor_trace_logs");
                if (!v0_1.exists()) {
                    return;
                }
                File[] v3 = v0_1.listFiles(c.d);
                int v4 = v3.length;
                int v0_2;
                for (v0_2 = 0; v0_2 < v4; ++v0_2) {
                    v1.a(v3[v0_2]);
                    if (!PackageUtils.a(v1.a.getApplicationContext())) {
                        break;
                    }
                }
                return;
            }
        } catch (Throwable v0) {
            v0.printStackTrace();
        }
    }

    @Override
    public void f(@NonNull Object o) {

    }
}

